package 笔记.设计模式.建造者模式;

/**
 * @author chenhailong
 * @ClassName: BuildFactory
 * @Description: TODO
 * @date 2021/7/6 16:21
 * @Version 1.0
 */
public class BuildFactory {


    public Build setA() {
        Build build = new Build();
        build.addItem(new MeatBurger());
        build.addItem(new CocaCola());
        return build;
    }

    public Build setB() {
        Build build = new Build();
        build.addItem(new Pepsi());
        build.addItem(new VeggieBurger());
        return build;
    }
}
